using UnityEngine.Events;
using UnityEngine;

[System.Serializable]
public class GameEvent : UnityEvent<string> { }

public class EventManager : MonoBehaviour
{
    public static EventManager Instance;

    public GameEvent onCardPlayed;
    public GameEvent onTurnEnd;

    private void Awake()
    {
        if (Instance == null)
            Instance = this;
        else
            Destroy(gameObject);
    }
}